package com.example.springstudy;

import com.google.common.base.Optional;
import com.google.common.collect.Lists;

import java.util.ArrayList;

/**
 * @Auther ZhaoJunZhou
 * @Date 2020/9/21
 */
public class tetRun {
    public static void main(String[] args) {
        Integer a = null;
        Optional.of("123").get();
        Integer asd=Optional.fromNullable(a).or(123);
        System.out.println(asd);

    }
}
